/**
 * 成功页面组件
 */

Component({
  props: {
    amount: 0,
  },
  methods: {
    handleToRecord() {
      my.redirectTo({
        url: '/pages/record/record',
      });
    },
    handleToIndex() {
      my.switchTab({
        url: '/pages/index/index',
      });
    },
  },
});